#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "OLED.h"
#include "CountSensor.h"

int main(void)
{
	/*模块初始化*/
	OLED_Init();		//OLED初始化
	
	/*中断初始化*/
	CountSensor_Init();
	
	OLED_ShowString(1, 1, "Count:");	//1行3列显示字符串HelloWorld!
	while (1)
	{
	
		OLED_ShowNum(1, 7,CountSensor_Get(), 5);
	}
}
